package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    void deleteByPrimaryKey(Long id);

    void insert(TravelCommend record);

    TravelCommend selectByPrimaryKey(Long id);

    List<TravelCommend> selectAll();

    void updateByPrimaryKey(TravelCommend record);

    PageInfo<TravelCommend> queryForList(QueryObject qo);
    //查询前5的游记
    List<TravelCommend> listTop5();
}
